var app = new Vue({
  el: ".supfire",
  data () {
    return {
      isShow: false,
      currentIndex: 0,
      isMenu: false, // 是否显示在移动端的菜单
      isMobile: true, // 监听是否是移动端
      scrollH: 0
    }
  },
  mounted () {
    this.isMobile = !this.isMobile;
    this.scrollH = 10
  },
  watch: {
    'isMobile' () {
      if (window.screen.width <= 768) {
        this.isMobile = true
      } else {
        this.isMobile = false
      }
    }
  }
});
